<ion-header-bar class="bar-positive">
    <div class="buttons">
        <button class="button" ng-click="back()">
            back
        </button>
    </div>
    <h1 class="title">DeleteGroup</h1>

    <div class="buttons">
        <button class="button button-icon icon ion-ios-minus-outline"
                ng-click="data.showDelete = !data.showDelete;"></button>
    </div>
</ion-header-bar>

<ion-content>


    <ion-list show-delete="data.showDelete" show-reorder="data.showReorder">

        <ion-item ng-repeat="group in groups" class="item-remove-animate">
            {{ group.name }}
            <ion-delete-button class="ion-minus-circled" ng-click="onGroupDelete(group)">
            </ion-delete-button>


        </ion-item>

    </ion-list>

</ion-content>